package com.heima.wemedia.service;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.AdSensitiveDto;
import com.heima.model.wemedia.dtos.SensitivePageDto;

public interface SensitiveService {
    ResponseResult save(AdSensitiveDto adSensitiveDto);

    //列表查询
    ResponseResult list(SensitivePageDto dto);

    /**
     * 更新敏感词
     * @param adSensitiveDto
     * @return
     */
    ResponseResult update(AdSensitiveDto adSensitiveDto);

    /**
     * 删除敏感词
     * @param id
     * @return
     */
    ResponseResult delete(Integer id);
}
